#ifndef _DESTRUCTIBLE_TILE_H_
#define _DESTRUCTIBLE_TILE_H_

#ifdef _WIN32
#pragma once
#endif

#include <string>
#include <sstream>

#include "tile.h"
#include "entity.h"
#include "repeat.h"
#include "map.h"
#include "free_tile.h"
#include "pickup.h"

using std::string;
using std::stringstream;

class CDestructibleTile : public CTile
{
public:
    CDestructibleTile(const ENTITY_ID &nTileID, const string &szTextureName,
                      short int nHeight, short int nWidth, short int nDepth);

    CDestructibleTile(short int nHeight, short int nWidth, short int nDepth);

    virtual void destroy();
    virtual void tick();

    void stopRepeat();
private:

    CRepeat<void> myRepeat;
};

#endif